<%-- ExMobi JSP文件，注释和取消快捷键统一为Ctrl+/ 多行注释为Ctrl+Shift+/ --%>
<%@ page language="java" import="java.util.*"
 contentType="application/text; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/client/adapt.jsp"%>
<%@ include file="/client/adapt_extend.jsp"%>
<%@ include file="properties.jsp" %>
<%
  JSONObject json = new JSONObject();
  String str = "<userId>25E0D7262A3E4E8FAABD76D194FA6FB7</userId>"
		  +"<taskProgress>                                                                      "
		  +"<remark>无</remark>                                                                 "
		  +"<repairManagerUName>刘乃田</repairManagerUName>                                     "
		  +"<exceptedAllRecoverTime></exceptedAllRecoverTime>                                   "
		  +"<functionLocationId></functionLocationId>                                           "
		  +"<repairWorkPermitTime></repairWorkPermitTime>                                       "
		  +"<dealSituation>处理情况</dealSituation>                                             "
		  +"<powerSupplyHighnumber>0</powerSupplyHighnumber>                                    "
		  +"<localRestoreTime></localRestoreTime>                                               "
		  +"<weather>1</weather>                                                                "
		  +"<deviceId>032000001514771</deviceId>                                                "
		  +"<allRecoverTime>2015-03-26 11:40:05</allRecoverTime>                                "
		  +"<faultSiteDesc>故障地点描述</faultSiteDesc>                                         "
		  +"<isFault>0</isFault>                                                                "
		  +"<faultReasonId>0101</faultReasonId>                                                 "
		  +"<tripCircuitSwitch></tripCircuitSwitch>                                             "
		  +"<faultReasonDesc>故障原因</faultReasonDesc>                                         "
		  +"<isolationDevice></isolationDevice>                                                 "
		  +"<faultPoint></faultPoint>                                                           "
		  +"<repairManagerUId>25E0D7262A3E4E8FAABD76D194FA6FB7</repairManagerUId>               "
		  +"<switchPowerDevice></switchPowerDevice>                                             "
		  +"<dutyOfficerUId>25E0D7262A3E4E8FAABD76D194FA6FB7</dutyOfficerUId>                   "
		  +"<functionLocationName>rrr</functionLocationName>                                    "
		  +"<faultSort>0</faultSort>                                                            "
		  +"<powerSupplyLownumber>0</powerSupplyLownumber>                                      "
		  +"<createTime>2015-03-26 11:40:05</createTime>                                        "
		  +"<switchPowerSupplyStatus>1</switchPowerSupplyStatus>                                "
		  +"<faultNO>DY20150326114005</faultNO>                                                 "
		  +"<dutyOfficerUName>刘乃田</dutyOfficerUName>                                         "
		  +"<resourceArriveTime></resourceArriveTime>                                           "
		  +"<deviceContent>古神公路22#箱变</deviceContent>                                      "
		  +"<faultLocation></faultLocation>                                                     "
		  +"<faultSeparationTime></faultSeparationTime>                                         "
		  +"<switchConsumerCount>2</switchConsumerCount>                                        "
		  +"<switchMvconsumerCount>2</switchMvconsumerCount>                                    "
		  +"<switchLvconsumerCount>2</switchLvconsumerCount>                                    "
		  +"<isolation>0</isolation>                                                            "
		  +"<isOutletTrip>0</isOutletTrip>                                                      "
		  +"<faultOcationMeasure>1</faultOcationMeasure>                                        "
		  +"<faultPhenomenonId></faultPhenomenonId>                                             "
		  +"<repairPersionUId></repairPersionUId>                                               "
		  +"<faultStatus></faultStatus>                                                         "
		  +"<isStop></isStop>                                                                   "
		  +"<nonFaultSectionRecoverTime></nonFaultSectionRecoverTime>                           "
		  +"<faultRepairedTime>2015-03-26 11:40:05</faultRepairedTime>                          "
		  +"<faultType>2</faultType>                                                            "
		  +"<districtType>3</districtType>                                                      "
		  +"<stopDevice></stopDevice>                                                           "
		  +"<delaySendpowerTime></delaySendpowerTime>                                           "
		  +"<arrivalTime></arrivalTime>                                                         "
		  +"<faultOcationTime></faultOcationTime>                                               "
		  +"<planRestoreTime></planRestoreTime>                                                 "
		  +"<callBackupTime></callBackupTime>                                                   "
		  +"<isCallResource></isCallResource>                                                   "
		  +"<isCallBackup></isCallBackup>                                                       "
		  +"<callResourceTime></callResourceTime>                                               "
		  +"<repairPersionUName></repairPersionUName>                                           "
		  +"<backuoArriveTime></backuoArriveTime>                                               "
		  +"<voltageGrade></voltageGrade>                                                       "
		  +"<isAddOutageDevice>1</isAddOutageDevice>                                            "
		  +"<plannedStartDateTime>2015-03-26 11:40:05</plannedStartDateTime>                    "
		  +"<delayRestoreDateTime>2015-03-26 11:40:05</delayRestoreDateTime>                    "
		  +"<delayRestoreReason>延时复电原因</delayRestoreReason>                               "
		  +"<outageEquipment>                                                                   "
		  +"<outageEquipmentItem>                                                               "
		  +"<deviceName></deviceName>                                                           "
		  +"<deviceId></deviceId>                                                               "
		  +"<outageLineId>357000321854901</outageLineId>                                        "
		  +"<outageLineName>715 子华线</outageLineName>                                         "
		  +"<fullPath>堤田变电站/715 子华线/子华线干线/户外开关/1T12隔离开关/隔离开关</fullPath>"
		  +"</outageEquipmentItem>                                   "
		  +"</outageEquipment>                                       "
		  +"<switchPowerEquipment>                                   "
		  +"<switchPowerEquipmentItem>                               "
		  +"<outageLineId>停电线路ID</outageLineId>                  "
		  +"<outageLineName>停电线路ID</outageLineName>              "
		  +"<startSwitchID>设备ID</startSwitchID>                    "
		  +"<startSwitchName>设备名称</startSwitchName>              "
		  +"<startSwitchStatus>1</startSwitchStatus>                 "
		  +"<startOutageTime>2015-03-26 11:40:05</startOutageTime>   "
		  +"<endOutageTime>2015-03-26 11:40:05</endOutageTime>       "
		  +"</switchPowerEquipmentItem>                              "
		  +"<switchPowerEquipmentItem>                               "
		  +"<outageLineId>停电线路ID</outageLineId>                  "
		  +"<outageLineName>停电线路ID</outageLineName>              "
		  +"<startSwitchID>设备ID</startSwitchID>                    "
		  +"<startSwitchName>设备名称</startSwitchName>              "
		  +"<startSwitchStatus>1</startSwitchStatus>                 "
		  +"</switchPowerEquipmentItem>                              "
		  +"</switchPowerEquipment>                                  "
		  +"<addOutageEquipment>                                     "
		  +"<addOutageEquipmentItem>                                 "
		  +"<startLineId>停电线路ID</startLineId>                    "
		  +"<startLineName>停电线路ID</startLineName>                "
		  +"<startSwitchID>设备ID</startSwitchID>                    "
		  +"<startSwitchName>设备名称</startSwitchName>              "
		  +"<endLineId>1</endLineId>                                 "
		  +"<endLineName>1</endLineName>                             "
		  +"<endSwitchID>1</endSwitchID>                             "
		  +"<endSwitchName>1</endSwitchName>                         "
		  +"<startOutageTime>2015-03-26 11:40:05</startOutageTime>   "
		  +"<endOutageTime>2015-03-26 11:40:05</endOutageTime>       "
		  +"</addOutageEquipmentItem>                                "
		  +"<addOutageEquipmentItem>                                 "
		  +"<startSwitchID>设备ID</startSwitchID>                    "
		  +"<startSwitchName>设备名称</startSwitchName>              "
		  +"<endLineId>1</endLineId>                                 "
		  +"<endLineName>1</endLineName>                             "
		  +"<endSwitchID>1</endSwitchID>                             "
		  +"<endSwitchName>1</endSwitchName>                         "
		  +"<startOutageTime>2015-03-26 11:40:05</startOutageTime>   "
		  +"<endOutageTime>2015-03-26 11:40:05</endOutageTime>       "
		  +"</addOutageEquipmentItem>                                "
		  +"</addOutageEquipment>                                    "
		  +"</taskProgress>                                          "
		  +"<taskId>7a841fc058d8408c83e2ffdb4a50cd9d</taskId>        "
		  +"<taskStatusDescribe>1</taskStatusDescribe>";
		  json = Xmlstr2Json(str);
  //json.put("ret", "ok");
  //json.put("cont", aa.common.base64("hellow"));
  //String temp = aa.common.base64(json.toString());
  //System.out.println(temp);
  out.println(json.toString());
%>
